//
//  ViewController.m
//  iFeller
//
//  Created by Wii on 15/12/10.
//  Copyright © 2015年 Wii. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol WiiMenuDelegate <NSObject>

@required
//按住菜单时的代理方法
- (void)menuItemsPressed:(UIButton *)button;
@optional
-(void)menuPressed;
-(void)popMenuCancelled;
-(void)fingerDragged:(CGPoint)currentPoint;
@end

@interface WiiMenu : UIView

- (instancetype)initWiiMenuWithMenuButton:(UIButton *)menuButton menuItems:(NSMutableArray *)menuItems AddButton:(UIButton *)addButton;
@property (nonatomic , strong) UIButton *menuButton;
@property (nonatomic , strong) UIButton *addButton;
@property (nonatomic , strong) NSMutableArray *menuItems;
@property (nonatomic , copy) NSArray *imageArray;
@property (nonatomic , weak) id <WiiMenuDelegate> delegate;
@property (nonatomic , assign) NSInteger status;
@end
